import  datetime
def getCurrentTime( frm = "%Y-%m-%d %H:%M:%S.%f"):
    dt = datetime.datetime.now()
    return dt.strftime( frm )


if __name__ == '__main__':
    dt = getCurrentTime()
    print(dt)